package com.tju.resource.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * bom表
 * @TableName tb_bom
 */
@TableName(value ="tb_bom")
@Data
public class TbBom implements Serializable {
    /**
     * bom id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * bom编号
     */
    private String bomNo;

    /**
     * bom(表)名称
     */
    private String bomNa;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private TbOrder order;

    @TableField(exist = false)
    private String orderNumber;
}